package com.znsd.zl.collect.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.znsd.zl.house.entity.HouseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @ClassName CollectEntity
 * @Description 收藏属性类
 * @author xyx
 * @date 2020-08-28 14:48:33
 * @Version v1.0
 */
@Data
@TableName("t_collect")
public class CollectEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id，主键
	 */
	@TableId
	private Integer id;
	/**
	 * 收藏的房屋id
	 */
	private Integer houseId;
	/**
	 * 收藏的用户id
	 */
	private Integer userId;
	/**
	 * 创建时间
	 */
	private Date createTime;

	private List<HouseEntity> houses;
}
